import request from '@/utils/request'

// 查询总体技术状况评定列表
export function listTechnicaltotal(query) {
  return request({
    url: '/technicaltotal/technicaltotal/list',
    method: 'get',
    params: query
  })
}

// 查询总体技术状况评定详细
export function getTechnicaltotal(totalId) {
  return request({
    url: '/technicaltotal/technicaltotal/' + totalId,
    method: 'get'
  })
}



// 新增总体技术状况评定
export function addTechnicaltotal(data) {
  return request({
    url: '/technicaltotal/technicaltotal',
    method: 'post',
    data: data
  })
}

// 修改总体技术状况评定
export function updateTechnicaltotal(data) {
  return request({
    url: '/technicaltotal/technicaltotal',
    method: 'put',
    data: data
  })
}

// 删除总体技术状况评定
export function delTechnicaltotal(totalId) {
  return request({
    url: '/technicaltotal/technicaltotal/' + totalId,
    method: 'delete'
  })
}

//导出为word文档
export function exportWord(totalId) {
  return request({
    url: '/technicaltotal/technicaltotal/exportWord/' + totalId,
    method: 'get'
  })
}

